# {{ ansible_managed }}

dir {{ runtime_dir }}/redisraft-{{ item['port'] }}
save ""
appendonly no
supervised auto
port {{ item['port'] }}
protected-mode no
dbfilename redis.rdb
loadmodule {{ install_dir }}/lib/redisraft.so addr {{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ item['port'] }} slot-config {{ item['slot-config'] }} sharding yes {% for k, v in redisraft_config.items() -%} {{ k }} {{ v }} {% endfor %}
